package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Contact;
import cn.sumpu.app.guoguojie.domain.Detail;
import cn.sumpu.app.guoguojie.domain.Learning;
import cn.sumpu.app.guoguojie.domain.Personality;
import cn.sumpu.app.guoguojie.domain.Work;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface DetailDao {
	public void insertDetail(Detail detail) throws AppBusinessException;
	
	public void updateDetail(Detail detail) throws AppBusinessException;
	
	public List<Detail> getDetailList(Map<String,Object> map)throws AppBusinessException;
	
	public Integer getDetailListCount(Map<String,Object> map)throws AppBusinessException;
	
	public List<Personality> getPersonalityList(Map<String,Object> map)throws AppBusinessException;
	
	public List<Learning> getLearningList(Map<String,Object> map)throws AppBusinessException;
	
	public List<Work> getWorkList(Map<String,Object> map)throws AppBusinessException;
	
	public void deletePersonality(Map<String,Object> map)throws AppBusinessException;
	
	public Detail getDetailByMember(Map<String,Object> map)throws AppBusinessException;
	
	public void insertPersonality(Personality personality)throws AppBusinessException;
	public void updatePersonality(Personality personality)throws AppBusinessException;
	
	public List<Contact> getContactList(Map<String,Object> map)throws AppBusinessException;
	
	public void deleteContact(Map<String,Object> map)throws AppBusinessException;
	
	
	public void insertContact(Contact contact)throws AppBusinessException;
	
}
